import request from '@/utils/http'
//获取详情接口
export const getCheckoutInfoAPI = () => {
  return request({
    url:'/member/order/pre'
  })
}
//创建订单（生成订单id）
export const createOrderAPI = (data) => {
  return request({
    url: `/member/order`,
    method:'POST',
    data
  })
}
